/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataBase;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author raphael
 */
public class Conexao {
    public Connection getConnection() throws SQLException {
        try {
            return DriverManager.getConnection("jdbc:mysql://localhost/Softclim", "root", "comando");
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
    
}
